package com.ihr360.excel.dao;

import com.ihr360.excel.model.dto.SpreadSheet;
import com.ihr360.excel.model.dto.SpreadsheetJournal;
import com.ihr360.excel.model.type.JournalType;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.ArrayList;
import java.util.List;

public interface SpreadsheetJournalRepository extends JpaRepository<SpreadsheetJournal, String> {

    List<SpreadsheetJournal> findByTypeInAndProgressKeyAndSheetOrderByRowNum(ArrayList<JournalType> journalTypes, String progressKey, SpreadSheet spreadSheet);
}
